Acceptor-Connector An Object Creational Pattern for Connecting and Initializing Communication Services
نویسنده
چکیده
The Acceptor-Connector design pattern decouples connection establishment and service initialization in a distributed system from the processing performed once a service is initialized. This decoupling is achieved with three components: acceptors, connectors, and service handlers. A connector actively establishes a connection with a remote acceptor component and initializes a service handler to process data exchanged on the connection. Likewise, an acceptor passively waits for connection requests from remote connectors, establishing a connection upon arrival of such a request, and initializing a service handler to process data exchanged on the connection. The initialized service handlers then perform application-specific processing and communicate via the connection established by the connector and acceptor components.
منابع مشابه
Acceptor and Connector A Family of Object Creational Patterns for Initializing Communication Services
This paper describes the Connector and Acceptor patterns. The intent of these patterns is to decouple the active and passive initialization roles, respectively, from the tasks a communication service performs once initialization is complete. Common examples of communication services that utilize these patterns include WWW browsers, WWW servers, object request brokers, and “superservers” (which ...
متن کاملAcceptor and Connector Design Patterns for Initializing Communication Services
This paper describes the Connector and Acceptor patterns. The intent of these patterns is to decouple the active and passive connection roles, respectively, from the tasks a communication service performs once connections are established. Common examples of communication services that utilize these patterns include WWW browsers, WWW servers, object request brokers, and “superservers” that provi...
متن کاملAcceptor and Connector Design Patterns for Actively and Passively Initializing Network Services
This paper describes a pair of patterns that enhance the reuse, extensibility, and portability of object-oriented communication software by permittingnetwork services to evolve independently of the mechanisms used to establish connections used by the services. The Acceptor and Connector patterns decouple the passive and active establishment of a connection, respectively, from the service perfor...
متن کاملAcceptor A Design Pattern for Passively Initializing Network Services
This article is part of a continuingseries that describes objectoriented techniques for developing reusable, extensible, and efficient communication software. The current topic examines the Acceptor pattern. This design pattern enables the tasks performed by network services to evolve independently of the strategies used to passively initialize the services. By decoupling service initialization...
متن کاملConnector A Design Pattern for Actively Initializing Network Services
This article is part of a continuingseries that describes objectoriented techniques for developing reusable, extensible, and efficient communication software. The topic of this article is the Connector pattern. This design pattern enables the tasks performed by network services to evolve independently of the mechanisms that actively initialize the services. The Connector pattern is a companion ...
متن کامل